FROM continuumio/miniconda3:latest

RUN mkdir /opt/faiss-quart
WORKDIR /opt/faiss-quart

RUN mkdir /var/log/faiss-quart

COPY requirements.txt .
COPY condarc /root/.condarc

RUN conda install -y -c conda-forge --file requirements.txt

COPY bin bin
COPY src src

ENTRYPOINT ["bin/faiss-quart.sh"]
